]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[l10n] force no-c-format for "sent at ..." message
authorLuca Ferretti <lferrett@gnome.org>
Mon, 13 Dec 2010 22:07:37 +0000 (23:07 +0100)
committerLuca Ferretti <lferrett@gnome.org>
Mon, 13 Dec 2010 22:12:51 +0000 (23:12 +0100)
"Sent at %X on %A" was incorrectly marked as c-format in PO files;
forcing the no-c-format to allow custom format in translations.

js/ui/telepathyClient.js

index 57cb78f05766f493d139f0406ce3049d08d4f26f..5b57706e9fefb41ac446347987306c8b8e81f164 100644 (file)
@@ -660,6 +660,7 @@ Notification.prototype = {
         /* Translators: this is a time format string followed by a date.
            If applicable, replace %X with a strftime format valid for your
            locale, without seconds. */
+        // xgettext:no-c-format
         let timeLabel = this.addBody(lastMessageDate.toLocaleFormat(_("Sent at %X on %A")), false, { expand: true, x_fill: false, x_align: St.Align.END });
         timeLabel.add_style_class_name('chat-meta-message');
         this._history.unshift({ actor: timeLabel, time: lastMessageTime, realMessage: false });